package com.lzj.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzj.admin.pojo.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * 用户角色表 Mapper 接口
 * @author 蒋中昊
 * @since 2024
 */
@Mapper
@Repository
public interface UserRoleMapper extends BaseMapper<UserRole> {
    public List<String> findRoleByUserName(@Param("username") String username);
}
